﻿using System.Collections.Generic;
using System.Data.Entity;
using JSTree.Sample.Models;

namespace JSTree.Sample.data
{
    public class NodesDbContext : DbContext
    {
        public NodesDbContext(string connectionString)
        {
            Database.Connection.ConnectionString = connectionString;
        }

        public DbSet<Node> Nodes { get; set; }
    }
}